﻿using YNTK.Common.Const;
using SqlSugar;
using System;

namespace YNTK.SubDev.Entitys
{
    /// <summary>
    /// 报销单
    /// </summary>
    [SugarTable("zy_oa_wf_finrmbtDetails")]
    [Tenant(ClaimConst.TENANT_ID)]
    public class ZyOaWfFinrmbtDetailsEntity
    {
        /// <summary>
        /// 主键ID
        /// </summary>
        [SugarColumn(ColumnName = "Id", IsPrimaryKey = true)]
        public string Id { get; set; }
        
        /// <summary>
        /// 项目名称
        /// </summary>
        [SugarColumn(ColumnName = "ProId")]        
        public string ProId { get; set; }
        
        /// <summary>
        /// 报销单号
        /// </summary>
        [SugarColumn(ColumnName = "ReimbursementId")]        
        public string ReimbursementId { get; set; }
        
        /// <summary>
        /// 费用项目
        /// </summary>
        [SugarColumn(ColumnName = "Cost_Item")]        
        public string CostItem { get; set; }
        
        /// <summary>
        /// 费用类别
        /// </summary>
        [SugarColumn(ColumnName = "Cost_Type")]        
        public string CostType { get; set; }
        
        /// <summary>
        /// 报销金额
        /// </summary>
        [SugarColumn(ColumnName = "Cost_Amount")]        
        public decimal CostAmount { get; set; }
        
        /// <summary>
        /// 备注说明
        /// </summary>
        [SugarColumn(ColumnName = "Remarks")]        
        public string Remarks { get; set; }
        
        /// <summary>
        /// 报销人
        /// </summary>
        [SugarColumn(ColumnName = "CreatePerson")]        
        public string CreatePerson { get; set; }
        
        /// <summary>
        /// 创建时间
        /// </summary>
        [SugarColumn(ColumnName = "CreateTime")]        
        public DateTime? CreateTime { get; set; }
        
        /// <summary>
        /// 
        /// </summary>
        [SugarColumn(ColumnName = "Spare1")]        
        public string Spare1 { get; set; }
        
        /// <summary>
        /// 
        /// </summary>
        [SugarColumn(ColumnName = "Spare2")]        
        public string Spare2 { get; set; }
        
    }
}
